
public class Run {

	public static void main(String[] args) {
		String filePath = "";
//		long start = System.currentTimeMillis();
//		kMeans kMeans01 = new kMeans(filePath, 4 , -1, "\\t", "", 0.01);
//		kMeans01.run();
//		System.out.println((System.currentTimeMillis()-start) + "ms");

		
//		start = System.currentTimeMillis();
//		kMeans kMeans02 = new kMeans(filePath, 4 , -1, "\\t", "", 0.01);
//		kMeans02.run();
//		kMeans02.printClusters();
//		kMeans kMeans0212 = new kMeans(filePath, 4 , -1, "\\t", "", 0.01);
//		kMeans0212.run();
//		kMeans0212.printClusters();
//		System.out.println((System.currentTimeMillis()-start) + "ms");		
//		
//		
//		start = System.currentTimeMillis();
//		kMeans kMeans03 = new kMeans(filePath, 10 , 0, ",", "?", 0.01);
//		kMeans03.run();
//		kMeans03.printClusters();
//		System.out.println((System.currentTimeMillis()-start) + "ms");
//				
//		
//		start = System.currentTimeMillis();
//		kMeans kMeans04 = new kMeans(filePath, 20, 0, ",", "", 0.01);
//		kMeans04.run();		
//		kMeans04.printClusters();
//		System.out.println((System.currentTimeMillis()-start) + "ms");
		
//		filePath = System.getProperty("user.dir") + "/data/Session2/seeds_dataset.txt";
//		for (int k = 1; k <= 0; k++) {
//			kMeans kMeansA = new kMeans(filePath, k , -1, "\\t", "", 0.01);
//			kMeans kMeansB = new kMeans(filePath, k , -1, "\\t", "", 0.01);
//			kMeansA.run();
//			kMeansB.run();
//			System.out.println(k + ": " + kMeansA.compareTo(kMeansB));
//		}
//		System.out.println();
//		filePath = System.getProperty("user.dir") + "/data/Session2/2d_data.txt";
//		for (int k = 1; k <= 0; k++) {
//			kMeans kMeansA = new kMeans(filePath, k , -1, "\\t", "", 0.01);
//			kMeans kMeansB = new kMeans(filePath, k , -1, "\\t", "", 0.01);
//			kMeansA.run();
//			kMeansB.run();
//			System.out.println(k + ": " + kMeansA.compareTo(kMeansB));
//		}
//		System.out.println();
//		filePath = System.getProperty("user.dir") + "/data/Session2/water-treatment.data.txt";
//		for (int k = 1; k <= 0; k++) {
//			kMeans kMeansA = new kMeans(filePath, k , 0, ",", "?", 0.01);
//			kMeans kMeansB = new kMeans(filePath, k , 0, ",", "?", 0.01);
//			kMeansA.run();
//			kMeansB.run();
//			System.out.println(k + ": " + kMeansA.compareTo(kMeansB));
//		}	
//		System.out.println();
		filePath = System.getProperty("user.dir") + "/data/Session2/KEGG Metabolic Relation Network.txt";
		for (int k = 1; k < 5; k++) {
			kMeans kMeansA = new kMeans(filePath, k , 0, ",", "", 0.01);
			kMeans kMeansB = new kMeans(filePath, k , 0, ",", "", 0.01);
			kMeansA.run();
			kMeansB.run();
			System.out.println(k + ": " + kMeansA.compareTo(kMeansB));
		}
	}
}
